package com.wjf.shortlink.admin.dto.resp;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.wjf.shortlink.admin.common.serialize.PhoneDesensitizationSerializer;
import lombok.Data;

@Data
public class UserRespDTO {
    // id
    private Long id;

    //用户名称
    private String username;

    // 用户密码
    private String password;

    // 用户真实姓名
    private String realName;

    // 邮箱
    private String mail;

    // 手机号码
    @JsonSerialize(using = PhoneDesensitizationSerializer.class)
    private String phone;
}
